package com.JohnCarloSalter.bestbuy_headers;

import com.JohnCarloSalter.ReceiptDecorator.ReceiptDecorator;
import com.JohnCarloSalter.Receipt.ReceiptComponent;

public class SecondaryHeaderDecorator extends ReceiptDecorator {

	private final String SECONDARY_HEADER = "=*=*=*=*=*=*=\nSTART SHOPPING FOR CHRISTMAS 2019 NOW!\n=*=*=*=*=*=*=";
	
	public SecondaryHeaderDecorator(ReceiptComponent rc) {
		super.create(rc);
	}
	
	//No-trailer constructor
	public SecondaryHeaderDecorator() {
		//Override the default constructor.
	}
	
	public void print() {
		System.out.println(SECONDARY_HEADER);
		super.callTrailer();
	}

}
